package com.mapper;

import com.entity.Memberbuyrecord;
import com.entity.MemberbuyrecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MemberbuyrecordMapper {
    long countByExample(MemberbuyrecordExample example);

    int deleteByExample(MemberbuyrecordExample example);

    int deleteByPrimaryKey(Integer mbno);

    int insert(Memberbuyrecord record);

    int insertSelective(Memberbuyrecord record);

    List<Memberbuyrecord> getMemberbuyrecordsByPage(Map map);

    List<Memberbuyrecord> getAll();

    List<Memberbuyrecord> selectByExample(MemberbuyrecordExample example);

    Memberbuyrecord selectByPrimaryKey(Integer mbno);

    int updateByExampleSelective(@Param("record") Memberbuyrecord record, @Param("example") MemberbuyrecordExample example);

    int updateByExample(@Param("record") Memberbuyrecord record, @Param("example") MemberbuyrecordExample example);

    int updateByPrimaryKeySelective(Memberbuyrecord record);

    int updateByPrimaryKey(Memberbuyrecord record);
}